/**
 * Copyright (C) 2018-2022
 * All rights reserved, Designed By www.yixiang.co

 */
package co.yixiang.modules.activity.domain;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import co.yixiang.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
* @author hupeng
* @date 2020-05-13
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("yx_store_coupon_user_qr_temp")
public class YxStoreCouponUserQrTemp extends BaseDomain {

    @TableId
    @ApiModelProperty(value = "id")
    private String id;


    @ApiModelProperty(value = "yx_store_coupon_user表的Id")
    private Integer couponUserId;

    @ApiModelProperty(value = "操作人ID")
    private Long uid;



    public void copy(YxStoreCouponUserQrTemp source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
